package OOPS;

class Hello11 {
	int xy = 12;
	static String abc = "Hello11";

	void displayInOuter() {
		System.out.println("** display InOuter **");
		Mno mn = new Mno();
		mn.show();
	}

	static void showInOuter() {
		System.out.println("** show InOuter **");
		Mno mn = new Mno();
		mn.show();
	}

	static class Mno {
		static int staticIntInInner = 789;
		int instanceInInner = 1234;

		void show() {
			System.out.println("** show in Mno Inner class **");
			// System.out.println("xy\t:"+xy);
			System.out.println("abc\t:" + abc);
			System.out.println("staticIntInInner\t:" + staticIntInInner);
			System.out.println("instanceInInner\t:" + instanceInInner);
		}
	}
}

class Test52 {
	public static void main(String str[]) {
		System.out.println(Hello11.Mno.staticIntInInner);
		Hello11.showInOuter();
		Hello11 h = new Hello11();
		h.displayInOuter();
		Hello11.Mno mnobj = null;
		// mnobj=new Hello11().new Mno();
		// mnobj=new Mno();
		// mnobj=new h.Mno();
		mnobj = new Hello11.Mno();
		mnobj.show();
	}
}